ActiveSupport::CoreExtensions::Time::Conversions::DATE_FORMATS.merge!({
  :default => '%Y-%m-%d %H:%M:%S'
})

ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance| "<span class=\"fieldWithErrors\">#{html_tag}</span>" }

WillPaginate::ViewHelpers.pagination_options[:previous_label] = '&lt; 上一页'
WillPaginate::ViewHelpers.pagination_options[:next_label] = '下一页 &gt;'
